package com.ruoyi.home.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

public class home extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long goodsId;

    /** 编号 */
    @Excel(name = "编号")
    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    private int height;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String details;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String goodsType;





    /** 图片地址 */
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setgoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getgoodsId()
    {
        return goodsId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }
    public void setgoodsType(String goodsType)
    {
        this.goodsType = goodsType;
    }

    public String getgoodsType()
    {
        return goodsType;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("goodsId", getgoodsId())
                .append("userId", getUserId())
                .append("title", getTitle())
                .append("price", getPrice())
                .append("details", getDetails())
                .append("goodsType", getgoodsType())
                .toString();
    }
}
